Dev4Press\Core\Helpers\IP A

Total Complexity 66
Dependencies 0
Dependents 9
Total lines 374
Lines of code 265
Logical lines of code 157
Comment lines 0
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
is_ipv4_in_range()
A
44 11 41
is_cloudflare_ip()
A
52 9 27
get_full_ipv6()
A
48 7 33
get_visitor_ip()
A
49 7 32
is_private_ip()
S
56 7 19
is_ipv6_in_range()
S
48 6 32
validate_ip()
S
58 5 16
get_ip_whois()
S
56 4 18
get_all_ips()
S
55 3 21
ip2long6()
S
61 3 11
get_server_ip()
S
68 2 7
cleanup_ip()
S
66 2 8